package day11;

/**
 * @author oldliu
 * @since 1.0
 */
public class FangdaoMen  extends Door implements Lock,TakePhoto{

    public FangdaoMen(String brand) {
        super(brand);
    }

    @Override
    public void lock() {
        System.out.println(super.getBrand()+"锁上了");
    }

    @Override
    public void unLock() {
        System.out.println(super.getBrand()+"门开锁了");
    }

    @Override
    public void paizhao() {
        System.out.println(getBrand()+"把门口的人拍照保存了");
    }
}
